﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Zombie_Demo.Utilities.Event_System
{
    public static class EventManager
    {
        private static List<Event> inputEvents;
        private static List<Event> updateEvents;

        internal static void Init()
        {
            inputEvents = new List<Event>();
            updateEvents = new List<Event>();
        }

        internal static void Update(GameTime gameTime)
        {
            foreach (Event e in updateEvents)
            {
                e.Update(gameTime);
            }
        }
    }
}
